#pragma once
#include <windows.h>
#include "ScanFile.h"

/**
@brief class Size
*/
template<typename T>
class Size
{
	///Size's width
	T _width;
	///Size's height
	T _height;
public:
	Size(const T& width, const T& height) : _width(width), _height(height) {}
};

/**
@brief class Point
*/
template<typename T>
class Point
{
public:
	///x position
	T x;
	///y position
	T y;
	Point( const T& x=0, const T& y=0) : x(x), y(y) {}
};

typedef Size<int> iSize;


class ViewList
{
	HWND _hWnd;
	iSize _size;

public:
	ViewList(HWND hWnd, const iSize& size);
	virtual ~ViewList(void);

	void onPaint( HDC hDC, ScanFile *pScanFile );
};
